.class public Lcom/waiqin365/lightapp/im/activity/AdminListActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Ljava/util/Observer;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private f:Ljava/util/List;

.field private g:I

.field private h:Lcom/waiqin365/lightapp/im/adapter/ax;

.field private i:Landroid/widget/Button;

.field private j:Z

.field private k:I

.field private l:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    iput v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->j:Z

    iput v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->k:I

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->k:I

    return p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->l:Ljava/lang/String;

    return-object p1
.end method

.method private a()V
    .locals 3

    const/4 v2, 0x0

    const v0, 0x7f0c070f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->b:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0711

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0712

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0869

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0868

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f0802e0

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->d:Landroid/widget/TextView;

    const v1, 0x7f020241

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->d:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->h:Lcom/waiqin365/lightapp/im/adapter/ax;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->c(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v1, 0x7f080678

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setTipsPull(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v1, 0x7f080528

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setTipsToRefresh(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/a;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/a;-><init>(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/b;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/b;-><init>(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/d;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/d;-><init>(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setCustomListviewOnScrollListener(Lcom/waiqin365/lightapp/dailyreport/view/y;)V

    return-void
.end method

.method private a(I)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const v2, 0x7f080571

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    const v1, 0x7f040022

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v1}, Landroid/widget/Button;->clearAnimation()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v1, v0}, Landroid/widget/Button;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->b()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)Lcom/waiqin365/lightapp/im/adapter/ax;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->h:Lcom/waiqin365/lightapp/im/adapter/ax;

    return-object v0
.end method

.method private b()V
    .locals 3

    iget v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->m:Ljava/lang/String;

    iget v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;I)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    const/4 v2, 0x0

    invoke-interface {v1, v2, v0}, Ljava/util/List;->addAll(ILjava/util/Collection;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a(I)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    return-object v0
.end method

.method private c()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    sget-object v1, Lcom/waiqin365/lightapp/im/a;->m:Ljava/lang/String;

    iget v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/imnotice/f;->a(Ljava/lang/String;I)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->h:Lcom/waiqin365/lightapp/im/adapter/ax;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/ax;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getFooterViewsCount()I

    move-result v2

    add-int/2addr v1, v2

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v2

    add-int/2addr v1, v2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setSelection(I)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method private d()V
    .locals 4

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x1

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v3

    rem-int/lit8 v0, v3, 0x14

    if-eqz v0, :cond_0

    div-int/lit8 v0, v3, 0x14

    :goto_0
    move v2, v1

    :goto_1
    if-ge v2, v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->b()V

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    :cond_0
    div-int/lit8 v0, v3, 0x14

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->h:Lcom/waiqin365/lightapp/im/adapter/ax;

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->l:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/im/adapter/ax;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->h:Lcom/waiqin365/lightapp/im/adapter/ax;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/ax;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getFooterViewsCount()I

    move-result v2

    add-int/2addr v0, v2

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v2

    add-int/2addr v0, v2

    sub-int/2addr v0, v3

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    if-lez v0, :cond_2

    :goto_2
    invoke-virtual {v2, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->smoothScrollToPosition(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e()V

    return-void

    :cond_2
    move v0, v1

    goto :goto_2
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->g:I

    return v0
.end method

.method private e()V
    .locals 6

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    const v1, 0x7f040023

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v1}, Landroid/widget/Button;->clearAnimation()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v1, v0}, Landroid/widget/Button;->startAnimation(Landroid/view/animation/Animation;)V

    new-instance v1, Landroid/os/Handler;

    invoke-direct {v1}, Landroid/os/Handler;-><init>()V

    new-instance v2, Lcom/waiqin365/lightapp/im/activity/f;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/im/activity/f;-><init>(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V

    invoke-virtual {v0}, Landroid/view/animation/Animation;->getDuration()J

    move-result-wide v4

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->k:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)Landroid/widget/Button;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->e()V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->k:I

    return v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    :sswitch_0
    return-void

    :sswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->back()V

    goto :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->d()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c070f -> :sswitch_1
        0x7f0c0710 -> :sswitch_0
        0x7f0c0869 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    const v0, 0x7f030187

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->setContentView(I)V

    new-instance v0, Lcom/waiqin365/lightapp/im/adapter/ax;

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->f:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/im/adapter/ax;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->h:Lcom/waiqin365/lightapp/im/adapter/ax;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->c()V

    invoke-static {}, Lcom/waiqin365/lightapp/im/utils/f;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/im/utils/f;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onPause()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->j:Z

    return-void
.end method

.method protected onResume()V
    .locals 4

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->j:Z

    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/waiqin365/lightapp/im/activity/e;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/im/activity/e;-><init>(Lcom/waiqin365/lightapp/im/activity/AdminListActivity;)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 3

    invoke-direct {p0}, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->i:Landroid/widget/Button;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/Button;->setTag(Ljava/lang/Object;)V

    :cond_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->j:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/AdminListActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/base/db/imnotice/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/imnotice/f;

    move-result-object v0

    const/4 v1, 0x1

    sget-object v2, Lcom/waiqin365/lightapp/im/a;->m:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/imnotice/f;->a(ZLjava/lang/String;)Z

    :cond_1
    return-void
.end method
